package cn.echo.modules.sys.entity;

/**
 Copyright (C), 2006-2010, ChengDu Lovo info. Co., Ltd.
 FileName: Grade.java
 *
 @author Xie
 @Date 2017.4.12
 @version 1.00
 */
public class Grade {
    /** 主键 */
    private String id;
    /** 用户ID */
    private User user;
    /** 用户积分 */
    private int value;
    /** 用户等级 */
    private int level;


    @Override
    public String toString() {
        return "Grade{" +
                "id='" + id + '\'' +
                ", user=" + user +
                ", value=" + value +
                ", level=" + level +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }
}
